package com.tian;

import com.tian.factory.ApplicationContextFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * todo 请注意：本项目中 关于netty和 emqx ，侧重点是 emqx
 */
@SpringBootApplication()
public class StationApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context =SpringApplication.run(StationApplication.class, args);
        ApplicationContextFactory.setApplicationContext(context);
    }
}
